<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>友情链接管理</title>
    <style type="text/css">
    	.page_cms{
    		text-align: center;
    	}
        .page_cms .close{
        	float: none;
        	font-size: 12px;
        }
        .page_cms a{
        	padding: 9px 7px;
        	border: 1px solid #eee;
        	margin-left: 3px;
        }
        .page_cms strong{
        	padding: 6px 4px;
        	border: 1px solid #eee;
        	margin-left: 3px;
        	background: #3071A9;
        	color: #fff;
        }
    </style>
    <link rel="stylesheet" type="text/css" href="__STATIC__/hdjs/hdui.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css/bootstrap.min.css"/>
</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
        <tr>
            <td width="30">id</td>
            <td>友情链接名称</td>
            <td>友情链接地址</td>
            <td width="200">操作</td>
        </tr>
        </thead>
        <tbody>
        	<foreach from="$data" value="$v" key="$k">
        		<tr>
	                <td width="30">{$v.fid}</td>
	                <td>{$v.fname}</td>
                    <td>{$v.url}</td>
	                <td width="200">
						<a href="{|U:'Flink/edit',array('fid'=>$v['fid'])}" class="btn btn-primary btn-xs">修改</a>
						<a href="javascript:;" class="btn btn-danger btn-xs" onclick="if(confirm('确定删除吗？')) location.href='{|U:'Flink/del',array('fid'=>$v['fid'])}'">删除</a>
	                </td>
           		</tr>
        	</foreach>
            
        </tbody>
    </table>
    <div class="page_cms">
        {$page}
    </div>
</div>

</body>
</html>














